package net.roseparadise.dao;
// default package

import java.util.List;

import net.roseparadise.model.Guest;

public interface GuestDAO {
   
    public void save(Guest transientInstance);
    
	public void delete(Guest persistentInstance) ;
    
    public Guest findById( java.lang.Integer id);    
    
    public List<Guest> findByExample(Guest instance);
    
    public List findByProperty(String propertyName, Object value) ;

	public List<Guest> findByName(Object name);
	
	public List<Guest> findByTelephone(Object telephone);
	
	public List<Guest> findByQq(Object qq);
	
	public List<Guest> findByMsn(Object msn);
	
	public List<Guest> findByEmail(Object email);
	
	public List<Guest> findByCreatedate(Object createdate);	

	public List findAll();
	
    public Guest merge(Guest detachedInstance);

 

}